#include "cxibuttondesigner.h"
#include <controls/button/cxibutton.h>
CxiButtonDesigner::CxiButtonDesigner(QObject* parent) : CxiDesignerBase(parent)
{
	d_name = "CxiButton";
	d_include = "controls/button/cxibutton.h";
	d_domXml =
		"<widget class=\"CxiButton\" name=\"btn\">\n"
		" <property name=\"geometry\">\n"
		"  <rect>\n"
		"   <x>0</x>\n"
		"   <y>0</y>\n"
		"   <width>70</width>\n"
		"   <height>29</height>\n"
		"  </rect>\n"
		" </property>\n"
		"<property name=\"text\">\n"
		"<string>Button</string>\n"
		"</property>\n"
		"</widget>\n";
}

QWidget* CxiButtonDesigner::createWidget(QWidget* parent)
{
	return new CxiButton(parent);
}